class · System
Tuple<T1, T2, T3>
public class System.Tuple<T1, T2, T3> : System.Any, System.IToString, System.IHashable<System.Tuple<T1, T2, T3>>
3 items in an object: Item1…Item3, fixed when it is made.
- Kind
- class
- Namespace
- System
- Assembly
- System.Core
- Access
- public, record
- Source file
Tuples.ant
Type parameters
| Name | Constraints |
|---|---|
T1 | any type |
T2 | any type |
T3 | any type |
Inheritance
- Base classes
-
AnyTuple<T1, T2, T3> - Interfaces
-
IToStringIHashable<TSelf>
Constructors
constructor Tuple(Item1: T1, Item2: T2, Item3: T3)
#
Methods
method ToValueTuple() -> System.ValueTuple<T1, T2, T3>
#
The same items in a ValueTuple.
method ToString() -> System.String<u8>
#
method Equals(other: System.Tuple<T1, T2, T3>) -> bool
#
Fields
Inherited members (3)
GetTypemethod from AnyUndescribedmethod from Anydestroymethod from Any
Source
Tuple<T1, T2, T3> as Larva HIR, decompiled from its Larva HIR.
// 3 items in an object: Item1…Item3, fixed when it is made.
public class System.Tuple<T1, T2, T3> : System.Any, System.IToString, System.IHashable<System.Tuple<T1, T2, T3>>
{
field Item1: T1
field Item2: T2
field Item3: T3
constructor Tuple(Item1: T1, Item2: T2, Item3: T3)
// The same items in a ValueTuple.
method ToValueTuple() -> System.ValueTuple<T1, T2, T3>
method ToString() -> System.String<u8>
method Hash() -> u64
method Equals(other: System.Tuple<T1, T2, T3>) -> bool
}